//
//  GTRaiderHeaderView.h
//  GiftTalk
//
//  Created by Wan on 16/4/7.
//  Copyright © 2016年 Wan. All rights reserved.
//  头部滚动控件

#import <UIKit/UIKit.h>

@class GTRaidersCollection,GTRaiderHeaderView;

@protocol GTRaiderHeaderViewDelegate <NSObject>

@optional
- (void)raiderHeaderViewDidClickWithCollection:(GTRaidersCollection *)collection;
- (void)raiderHeaderViewDidClickCheckAllButton:(GTRaiderHeaderView *)headerView;

@end

@interface GTRaiderHeaderView : UIView
/** 数据模型数组 */
@property (strong, nonatomic) NSArray *collections;
/** 代理 */
@property (weak, nonatomic) id <GTRaiderHeaderViewDelegate> delegate;

+ (instancetype)raiderHeaderView;

@end

@interface GTRaiderHeaderImageView : UIImageView
@property (strong, nonatomic) GTRaidersCollection *collection;
@end
